function [RM, RM_Shuffle] = get_RM_values_ready(RM_raw, RM_shuffle_raw, rotation)

% get the indices correct
if rotation == 0
    index=1;
elseif rotation == 90
    index=2;
elseif rotation == 180
    index=3;
else 
    index=4;
end

% turn the PV & PV shuffle values into two vectors
RM = RM_raw(:,index);

RM_Shuffle = RM_shuffle_raw;
RM_Shuffle = RM_Shuffle(:);

end